<!-- application/layouts/scripts/layout.phtml -->
<?php echo $this->doctype() ?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-language" content="fr_FR">
  <title>E-University</title>
  

  
   <?php 
   		
   		//echo $this->headLink()->appendStylesheet('/resources/js/css/bootstrap.css');
   		echo $this->headLink()->appendStylesheet('/jquery/validationEngine.jquery.css');
   		
   		echo $this->headLink()->appendStylesheet($this->baseUrl().'/resources/css/table.css');
   		echo $this->headLink()->appendStylesheet($this->baseUrl().'/resources/css/formulaire-css3.css')
   								->appendStylesheet('/resources/css/iconecss.css');
   		
   		//echo $this->headScript()->appendFile('/jquery/jquery-1.6.min.js','text/javascript');
   		 echo $this->headScript()->appendFile('/jquery/jquery.simpledialog/jquery-1.7.2.min.js');
   		 echo $this->headScript()->appendFile('/jquery/jquery.simpledialog/jquery-ui-1.8.20.custom.min.js'); 
   		 echo $this->headScript()->appendFile('/jquery/jquery.simpledialog/jquery.simpledialog.0.1.js'); 
   		
   		echo $this->headScript()->appendFile('/jquery/jquery.validationEngine.js','text/javascript');
   		echo $this->headScript()->appendFile('/jquery/jquery.validationEngine-fr.js','text/javascript');
   		
   		echo $this->headScript()->appendFile('/resources/js/scrolltable.js','text/javascript');
   		
   		
   	
   	
   		     
   ?>
<?php 
 class Zend_View_Helper_ProfileLink extends Zend_View_Helper_Abstract {
  public function profileLink() {
    $helperUrl = new Zend_View_Helper_Url ( );
    $auth = Zend_Auth::getInstance ();
    if ($auth->hasIdentity ()) {
      $username = $auth->getIdentity ()->prenom . ' ' . strtoupper ( substr ( $auth->getIdentity ()->nom, 0, 1 ) ) . '.';
      $logoutLink = $helperUrl->url ( array ('action' => 'logout', 'controller' => 'login' ) );
      return 'Salut ' . $username . ' (<a href="' . $logoutLink . '">Logout</a>)';
    }
    $loginLink = $helperUrl->url ( array ('action' => 'login', 'controller' => 'login' ) );
    return '<a href="' . $loginLink . '">Login</a>';
  }
}?>
</head>

	
<body>

     <legend><?php echo $this->escape($this->title); ?> </legend>
  
    <div id="content" align="center"> <?php echo $this->layout()->content; ?></div>



</body>
</html>
